<?php

// mbilling/BillingBundle/Entity/jabberMessages.php
namespace mbilling\BillingBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity
 */
class jabberMessages
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
	
    /**
     * @ORM\Column(type="string", length=300)
     * @assert\NotBlank
     */
    protected $message;

    public function setId($id)
    {
        $this->id = $id;
    }
    public function getId()
    {
        return $this->id;
    }

    public function setMessage($message)
    {
        $this->message = $message;
    }
    public function getMessage()
    {
        return $this->message;
    }

    public function initDefaultEntity()
    {
        $this->setMessage('<fipa-message ontology="cirrocumulus-vh" act="query-ref"><content>(show (database_users test_))</content></fipa-message>');
        return $this;
    }
}
?>
